package InterfaceDemo;

public interface Device {
    void powerOn();
    void powerOff();
    void repair();
}
interface electronicDevice extends Device {
    void charge();
    default void checkStatus() {
        System.out.println("检查设备状态：正常");
    }
}



